
#ifndef __LIBERTY_LIBRARY_TEXTUREIMPORTER_H__
#define __LIBERTY_LIBRARY_TEXTUREIMPORTER_H__

#include <Liberty3D/Library/AssetImporter.h>
#include <Liberty3D/Library/AssetCachedData.h>

namespace Liberty { namespace Library {
    class TextureImporter : public AssetImporter {
    public:
        TextureImporter();
        virtual ~TextureImporter();

    public:
        // ISerializable
        virtual void serializeObject(Liberty::Engine::ISerializer*);
        virtual const char* serializeClassName() const;
    };

    class TextureCachedData : public AssetCachedData {
    public:
        size_t                         width;
        size_t                         height;
        Liberty::Engine::TextureFormat format;

    public:
        TextureCachedData();

    public:
        virtual void update(std::streambuf*);
    };
}}

#endif
